FROM scratch
ADD alpine-minirootfs-3.14.1-x86_64.tar.gz /
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade && apk add bash && apk add bash-doc && apk add bash-completion && apk add htop && apk add vim && apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo -e "export HISTTIMEFORMAT=\"%d/%m/%y %T \"\nexport PS1=\"[\u@\h \W]\$ \"" > /root/.bashrc && sed -i 's/\/bin\/ash/\/bin\/bash/g' /etc/passwd
CMD ["/bin/bash"]